package com.fowo.api.model.shop;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import javax.validation.constraints.*;
import lombok.Data;

/** 店铺 导入导出辅助模型 */
@Data
public class ShopInfoExcelPo {

  @Size(max = 50, message = "名称长度不能超过20")
  @ExcelProperty(value = "名称")
  private String shopName;

  @Size(max = 50, message = "国家长度不能超过20")
  @ExcelProperty(value = "国家")
  private String country;

  @Size(max = 50, message = "金蝶店铺长度不能超过20")
  @ExcelProperty(value = "金蝶店铺")
  private String jindieShopDataValue;

  @ExcelIgnore
  @ExcelProperty(value = "金蝶店铺")
  private Long jindieShop;

  @Size(max = 50, message = "金蝶店铺店铺编码长度不能超过20")
  @ExcelProperty(value = "金蝶店铺店铺编码")
  private String jindieShopCode;

  @ExcelProperty(value = "授权状态")
  private String sellerAuthStatus;

  @DateTimeFormat("yyyy年MM月dd日HH:mm:ss")
  @ExcelProperty(value = "授权日期")
  private java.util.Date authTime;
}
